import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import store from './store'
import msg from './assets/js/message'
import common from './assets/js/common'
import pagination from "./components/pagination"
import search from "./components/search"
import attachmentSelectBtn from '@/components/attachmentSelectBtn'
Vue.component("pagination", pagination)
Vue.component("search", search)
Vue.component("attachmentSelectBtn", attachmentSelectBtn)
// 引入路由鉴权
import "./permisstion"

Vue.prototype.$msg = msg // 全局挂载
Vue.prototype.$common = common // 全局挂载
Vue.use(ElementUI)

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})